<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link
      rel="stylesheet"
      href="https://unpkg.com/leaflet@1.9.3/dist/leaflet.css"
      integrity="sha256-kLaT2GOSpHechhsozzB+flnD+zUyjE2LlfWPgU04xyI="
      crossorigin=""
    />
    <style type="text/css">
      #map {
        height: 700px;
        width: 1000px;
        margin: auto;
      }
    </style>
  </head>
  <body>
    <div id="map"></div>
    <script
      src="https://unpkg.com/leaflet@1.9.3/dist/leaflet.js"
      integrity="sha256-WBkoXOwTeyKclOHuWtc+i2uENFpDZ9YPdf5Hf+D7ewM="
      crossorigin=""
      type="text/javascript"
    ></script>
    <!-- 引入中国地图插件 -->
    <script src="./leaflet.ChineseTmsProviders.js"></script>
    <script type="text/javascript">
      let map = L.map("map").setView(
        [29.44916482692468, 106.47399902343751],
        7
      );
      //   可叠加
      L.tileLayer
        .chinaProvider("GaoDe.Normal.Map", { maxZoom: 18, minZoom: 5 })
        .addTo(map);
      L.tileLayer
        .chinaProvider("GaoDe.Satellite.Map", { maxZoom: 18, minZoom: 5 })
        .addTo(map);
      L.tileLayer
        .chinaProvider("GaoDe.Satellite.Annotion", { maxZoom: 18, minZoom: 5 })
        .addTo(map);
    </script>
  </body>
</html>
